multicall_loop:
pushl %ecx
movl 4(%esp),%ecx # %ecx = struct domain
- movl DOMAIN_processor(%ecx),%eax
+ movl EDOMAIN_processor(%ecx),%eax
shl $6,%eax # sizeof(irq_cpustat) == 64
testl $~0,SYMBOL_NAME(irq_stat)(%eax,1)
jnz multicall_preempt
__HYPERVISOR_dom_mem_op, 5,
MEMOP_increase_reservation,
&extent_list[i], nr_extents-i, extent_order,
- (d == current) ? DOMID_SELF : d->id);
+ (d == current->domain) ? DOMID_SELF : d->id);
if ( unlikely((page = alloc_domheap_pages(d, extent_order)) == NULL) )
{
__HYPERVISOR_dom_mem_op, 5,
MEMOP_decrease_reservation,
&extent_list[i], nr_extents-i, extent_order,
- (d == current) ? DOMID_SELF : d->id);
+ (d == current->domain) ? DOMID_SELF : d->id);
if ( unlikely(__get_user(mpfn, &extent_list[i]) != 0) )
return i;